﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VideoNetApplication.Common;
using VideoNetApplication.Common.Helper;
using VideoNetApplication.Common.Service;
using System.Configuration;

namespace VideoNetApplication.Control
{
    public partial class UControl : BaseControl
    {
        public string ReturnUrl = string.Empty;
       
        protected void Page_Load(object sender, EventArgs e)
        {
            ltrUser.Text = MembershipService.GetUser().VU_realname;
            
            if (Request["ReturnUrl"] != null)
            {
                ReturnUrl = Request["ReturnUrl"];

            }else
            {
                ReturnUrl = Request.RawUrl;
            }
        }
    }
}